package models

import (
	"github.com/zeromicro/go-zero/core/stores/cache"
	"github.com/zeromicro/go-zero/core/stores/sqlx"
)

var _ CusVisitorsModel = (*customCusVisitorsModel)(nil)

type (
	// CusVisitorsModel is an interface to be customized, add more methods here,
	// and implement the added methods in customCusVisitorsModel.
	CusVisitorsModel interface {
		cusVisitorsModel
	}

	customCusVisitorsModel struct {
		*defaultCusVisitorsModel
	}
)

// NewCusVisitorsModel returns a model for the database table.
func NewCusVisitorsModel(conn sqlx.SqlConn, c cache.CacheConf) CusVisitorsModel {
	return &customCusVisitorsModel{
		defaultCusVisitorsModel: newCusVisitorsModel(conn, c),
	}
}
